<?php
session_start();
$openid =isset( $_GET['wecha_id'])?$_GET['wecha_id']:'';
if(isset($_SESSION['openid']) && $_SESSION['openid'] == true){
	$openid = $_SESSION['openid'];
}else{
	if($openid != ''){
		$_SESSION['openid']= $openid ;
	}
}
include ('isweixin.php');
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
 include '../db.php';
?>
<head>
  <!-- Standard Meta -->
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

<title>拍拍乐投票</title>
<link rel="stylesheet" href="css/style.css" type="text/css">
<link rel="stylesheet" href="../../files/css/semantic.min.css" type="text/css">
<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="../../files/js/semantic.min.js"></script>
<script>

var votecannum=<?php echo $xuanzezu['votecannum'];?>;
var hasvoted=0;
</script>
<script type="text/javascript" src="js/vote.js"></script>
</head>
<body id='vote'> 
<img src="../images/mobile-bg.jpg" class="mobile-bg"/>
<div class="container">

<div class="ui page grid">
	<div class="column">
	<img src="../images/moblie-title.png" class="top-img" />
				<div class="loadmassage">
                      <h1>加载中 。。。。</h1>
                  </div>
	
	<!--投票层-->
	<div id="votebox" hidden>
		<h3 style="text-align:center;color:#fff">注：需要选择<?php echo $xuanzezu['votecannum'];?>项投票！</h3>
		<div class="ui grid">
		  <div class="eight wide column" id="column1">
		  </div>
		  <!--第二列-->
		  <div class="eight wide column" id="column2">
		  </div>
		  </div>
	</div>
	</div>
</div>
	<div id="votebutton">
		<button id="closewindow" class="fluid ui  red button votebutton">关闭本页面</button>
	</div>
	</div>
</div>
 </div>
</body>
</html>
